/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * FormDisc_Dinamico.java
 *
 * Created on 25/01/2012, 10:13:52
 */
package Formularios;

import Atributos.Disciplina;
import Atributos.Porenquanto;
import Metodos.DisciplinaMet;
import java.awt.image.BufferedImage;
import java.io.File;
import java.io.IOException;
import java.sql.SQLException;
import java.util.List;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.imageio.ImageIO;

/**
 *
 * @author Andre
 */
public class FormDisc_Dinamico extends javax.swing.JFrame {

  private int id_disc;

    private String disc1;
    private String disc2;
    private String disc3;
    private String disc4;
    private String disc5;
    private String disc6;
    private String disc7;
    private String disc8;
    private String disc9;
    private String disc10;
    private String disc11;
    private String disc12;
    private String disc13;
    private String disc14;
    private String disc15;
    private String disc16;
    private String disc17;
    private String disc18;
    private String disc19;
    private String disc20;
    private String disc21;
    private String disc22;
    private String disc23;
    private String disc24;
    private String disc25;
    private String disc26;
    String a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,x,y,w,z;
        String jrb[]={a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,x,y,w,z};
         private String[] nomes_disc;
        Disciplina disciplina=new Disciplina();
 DisciplinaMet discmet=new DisciplinaMet();
  private List<Disciplina> lista;
    public FormDisc_Dinamico(String asd, String asd2,int tema) {
        initComponents();
        BufferedImage image=null;
        File imageFile=new File(".\\src\\Imagens\\logo3.png");
        try {
            image=ImageIO.read(imageFile);
            
        } catch (IOException ex) {
        }
        this.setIconImage(image);
        
//        BufferedImage image=new BufferedImage(10,10,BufferedImage.TYPE_INT_ARGB);
//        setIconImage(image);
        if(tema==2){
          aplicatema2();  
        }
        AtualizaDados(asd,asd2);
        Sequencia_ifs();
        if(tema==3){
          aplicatema();  
        }
    }

   

    

    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        jDesktopPane1 = new javax.swing.JDesktopPane();
        jPanel1 = new javax.swing.JPanel();
        jRB_1 = new javax.swing.JRadioButton();
        jRB_2 = new javax.swing.JRadioButton();
        jRB_3 = new javax.swing.JRadioButton();
        jRB_4 = new javax.swing.JRadioButton();
        jRB_5 = new javax.swing.JRadioButton();
        jRB_6 = new javax.swing.JRadioButton();
        jRB_7 = new javax.swing.JRadioButton();
        jRB_8 = new javax.swing.JRadioButton();
        jRB_9 = new javax.swing.JRadioButton();
        jRB_10 = new javax.swing.JRadioButton();
        jRB_11 = new javax.swing.JRadioButton();
        jRB_12 = new javax.swing.JRadioButton();
        jRB_13 = new javax.swing.JRadioButton();
        jRB_14 = new javax.swing.JRadioButton();
        jRB_15 = new javax.swing.JRadioButton();
        jRB_16 = new javax.swing.JRadioButton();
        jRB_17 = new javax.swing.JRadioButton();
        jRB_18 = new javax.swing.JRadioButton();
        jRB_19 = new javax.swing.JRadioButton();
        jRB_20 = new javax.swing.JRadioButton();
        jRB_26 = new javax.swing.JRadioButton();
        jRB_21 = new javax.swing.JRadioButton();
        jRB_22 = new javax.swing.JRadioButton();
        jRB_25 = new javax.swing.JRadioButton();
        jRB_24 = new javax.swing.JRadioButton();
        jRB_23 = new javax.swing.JRadioButton();

        setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);
        setTitle("Disciplinas");
        setResizable(false);
        addWindowFocusListener(new java.awt.event.WindowFocusListener() {
            public void windowGainedFocus(java.awt.event.WindowEvent evt) {
            }
            public void windowLostFocus(java.awt.event.WindowEvent evt) {
                formWindowLostFocus(evt);
            }
        });

        jPanel1.setBackground(new java.awt.Color(0, 0, 0));
        jPanel1.setLayout(null);

        jRB_1.setBackground(new java.awt.Color(0, 0, 0));
        jRB_1.setFont(new java.awt.Font("Comic Sans MS", 1, 12)); // NOI18N
        jRB_1.setForeground(new java.awt.Color(255, 102, 0));
        jRB_1.setFocusPainted(false);
        jRB_1.addItemListener(new java.awt.event.ItemListener() {
            public void itemStateChanged(java.awt.event.ItemEvent evt) {
                jRB_1ItemStateChanged(evt);
            }
        });
        jPanel1.add(jRB_1);
        jRB_1.setBounds(0, 10, 500, 21);

        jRB_2.setBackground(new java.awt.Color(0, 0, 0));
        jRB_2.setFont(new java.awt.Font("Comic Sans MS", 1, 12)); // NOI18N
        jRB_2.setForeground(new java.awt.Color(255, 102, 0));
        jRB_2.setFocusPainted(false);
        jRB_2.addItemListener(new java.awt.event.ItemListener() {
            public void itemStateChanged(java.awt.event.ItemEvent evt) {
                jRB_2ItemStateChanged(evt);
            }
        });
        jPanel1.add(jRB_2);
        jRB_2.setBounds(0, 40, 500, 27);

        jRB_3.setBackground(new java.awt.Color(0, 0, 0));
        jRB_3.setFont(new java.awt.Font("Comic Sans MS", 1, 12)); // NOI18N
        jRB_3.setForeground(new java.awt.Color(255, 102, 0));
        jRB_3.setFocusPainted(false);
        jRB_3.addItemListener(new java.awt.event.ItemListener() {
            public void itemStateChanged(java.awt.event.ItemEvent evt) {
                jRB_3ItemStateChanged(evt);
            }
        });
        jPanel1.add(jRB_3);
        jRB_3.setBounds(0, 70, 500, 27);

        jRB_4.setBackground(new java.awt.Color(0, 0, 0));
        jRB_4.setFont(new java.awt.Font("Comic Sans MS", 1, 12)); // NOI18N
        jRB_4.setForeground(new java.awt.Color(255, 102, 0));
        jRB_4.setFocusPainted(false);
        jRB_4.addItemListener(new java.awt.event.ItemListener() {
            public void itemStateChanged(java.awt.event.ItemEvent evt) {
                jRB_4ItemStateChanged(evt);
            }
        });
        jPanel1.add(jRB_4);
        jRB_4.setBounds(0, 100, 500, 27);

        jRB_5.setBackground(new java.awt.Color(0, 0, 0));
        jRB_5.setFont(new java.awt.Font("Comic Sans MS", 1, 12)); // NOI18N
        jRB_5.setForeground(new java.awt.Color(255, 102, 0));
        jRB_5.setFocusPainted(false);
        jRB_5.addItemListener(new java.awt.event.ItemListener() {
            public void itemStateChanged(java.awt.event.ItemEvent evt) {
                jRB_5ItemStateChanged(evt);
            }
        });
        jPanel1.add(jRB_5);
        jRB_5.setBounds(0, 130, 500, 27);

        jRB_6.setBackground(new java.awt.Color(0, 0, 0));
        jRB_6.setFont(new java.awt.Font("Comic Sans MS", 1, 12)); // NOI18N
        jRB_6.setForeground(new java.awt.Color(255, 102, 0));
        jRB_6.setFocusPainted(false);
        jRB_6.addItemListener(new java.awt.event.ItemListener() {
            public void itemStateChanged(java.awt.event.ItemEvent evt) {
                jRB_6ItemStateChanged(evt);
            }
        });
        jPanel1.add(jRB_6);
        jRB_6.setBounds(0, 160, 500, 27);

        jRB_7.setBackground(new java.awt.Color(0, 0, 0));
        jRB_7.setFont(new java.awt.Font("Comic Sans MS", 1, 12)); // NOI18N
        jRB_7.setForeground(new java.awt.Color(255, 102, 0));
        jRB_7.setFocusPainted(false);
        jRB_7.addItemListener(new java.awt.event.ItemListener() {
            public void itemStateChanged(java.awt.event.ItemEvent evt) {
                jRB_7ItemStateChanged(evt);
            }
        });
        jPanel1.add(jRB_7);
        jRB_7.setBounds(0, 190, 500, 27);

        jRB_8.setBackground(new java.awt.Color(0, 0, 0));
        jRB_8.setFont(new java.awt.Font("Comic Sans MS", 1, 12)); // NOI18N
        jRB_8.setForeground(new java.awt.Color(255, 102, 0));
        jRB_8.setFocusPainted(false);
        jRB_8.addItemListener(new java.awt.event.ItemListener() {
            public void itemStateChanged(java.awt.event.ItemEvent evt) {
                jRB_8ItemStateChanged(evt);
            }
        });
        jPanel1.add(jRB_8);
        jRB_8.setBounds(0, 220, 500, 27);

        jRB_9.setBackground(new java.awt.Color(0, 0, 0));
        jRB_9.setFont(new java.awt.Font("Comic Sans MS", 1, 12)); // NOI18N
        jRB_9.setForeground(new java.awt.Color(255, 102, 0));
        jRB_9.setFocusPainted(false);
        jRB_9.addItemListener(new java.awt.event.ItemListener() {
            public void itemStateChanged(java.awt.event.ItemEvent evt) {
                jRB_9ItemStateChanged(evt);
            }
        });
        jPanel1.add(jRB_9);
        jRB_9.setBounds(0, 250, 500, 27);

        jRB_10.setBackground(new java.awt.Color(0, 0, 0));
        jRB_10.setFont(new java.awt.Font("Comic Sans MS", 1, 12)); // NOI18N
        jRB_10.setForeground(new java.awt.Color(255, 102, 0));
        jRB_10.setFocusPainted(false);
        jRB_10.addItemListener(new java.awt.event.ItemListener() {
            public void itemStateChanged(java.awt.event.ItemEvent evt) {
                jRB_10ItemStateChanged(evt);
            }
        });
        jPanel1.add(jRB_10);
        jRB_10.setBounds(0, 280, 500, 27);

        jRB_11.setBackground(new java.awt.Color(0, 0, 0));
        jRB_11.setFont(new java.awt.Font("Comic Sans MS", 1, 12)); // NOI18N
        jRB_11.setForeground(new java.awt.Color(255, 102, 0));
        jRB_11.setFocusPainted(false);
        jRB_11.addItemListener(new java.awt.event.ItemListener() {
            public void itemStateChanged(java.awt.event.ItemEvent evt) {
                jRB_11ItemStateChanged(evt);
            }
        });
        jPanel1.add(jRB_11);
        jRB_11.setBounds(0, 310, 500, 27);

        jRB_12.setBackground(new java.awt.Color(0, 0, 0));
        jRB_12.setFont(new java.awt.Font("Comic Sans MS", 1, 12)); // NOI18N
        jRB_12.setForeground(new java.awt.Color(255, 102, 0));
        jRB_12.setFocusPainted(false);
        jRB_12.addItemListener(new java.awt.event.ItemListener() {
            public void itemStateChanged(java.awt.event.ItemEvent evt) {
                jRB_12ItemStateChanged(evt);
            }
        });
        jPanel1.add(jRB_12);
        jRB_12.setBounds(0, 340, 500, 27);

        jRB_13.setBackground(new java.awt.Color(0, 0, 0));
        jRB_13.setFont(new java.awt.Font("Comic Sans MS", 1, 12)); // NOI18N
        jRB_13.setForeground(new java.awt.Color(255, 102, 0));
        jRB_13.setFocusPainted(false);
        jRB_13.addItemListener(new java.awt.event.ItemListener() {
            public void itemStateChanged(java.awt.event.ItemEvent evt) {
                jRB_13ItemStateChanged(evt);
            }
        });
        jPanel1.add(jRB_13);
        jRB_13.setBounds(0, 370, 500, 27);

        jRB_14.setBackground(new java.awt.Color(0, 0, 0));
        jRB_14.setFont(new java.awt.Font("Comic Sans MS", 1, 12)); // NOI18N
        jRB_14.setForeground(new java.awt.Color(255, 102, 0));
        jRB_14.setFocusPainted(false);
        jRB_14.addItemListener(new java.awt.event.ItemListener() {
            public void itemStateChanged(java.awt.event.ItemEvent evt) {
                jRB_14ItemStateChanged(evt);
            }
        });
        jPanel1.add(jRB_14);
        jRB_14.setBounds(0, 400, 500, 27);

        jRB_15.setBackground(new java.awt.Color(0, 0, 0));
        jRB_15.setFont(new java.awt.Font("Comic Sans MS", 1, 12)); // NOI18N
        jRB_15.setForeground(new java.awt.Color(255, 102, 0));
        jRB_15.setFocusPainted(false);
        jRB_15.addItemListener(new java.awt.event.ItemListener() {
            public void itemStateChanged(java.awt.event.ItemEvent evt) {
                jRB_15ItemStateChanged(evt);
            }
        });
        jPanel1.add(jRB_15);
        jRB_15.setBounds(0, 430, 500, 27);

        jRB_16.setBackground(new java.awt.Color(0, 0, 0));
        jRB_16.setFont(new java.awt.Font("Comic Sans MS", 1, 12)); // NOI18N
        jRB_16.setForeground(new java.awt.Color(255, 102, 0));
        jRB_16.setFocusPainted(false);
        jRB_16.addItemListener(new java.awt.event.ItemListener() {
            public void itemStateChanged(java.awt.event.ItemEvent evt) {
                jRB_16ItemStateChanged(evt);
            }
        });
        jPanel1.add(jRB_16);
        jRB_16.setBounds(0, 460, 500, 27);

        jRB_17.setBackground(new java.awt.Color(0, 0, 0));
        jRB_17.setFont(new java.awt.Font("Comic Sans MS", 1, 12)); // NOI18N
        jRB_17.setForeground(new java.awt.Color(255, 102, 0));
        jRB_17.setFocusPainted(false);
        jRB_17.addItemListener(new java.awt.event.ItemListener() {
            public void itemStateChanged(java.awt.event.ItemEvent evt) {
                jRB_17ItemStateChanged(evt);
            }
        });
        jPanel1.add(jRB_17);
        jRB_17.setBounds(0, 490, 500, 27);

        jRB_18.setBackground(new java.awt.Color(0, 0, 0));
        jRB_18.setFont(new java.awt.Font("Comic Sans MS", 1, 12)); // NOI18N
        jRB_18.setForeground(new java.awt.Color(255, 102, 0));
        jRB_18.setFocusPainted(false);
        jRB_18.addItemListener(new java.awt.event.ItemListener() {
            public void itemStateChanged(java.awt.event.ItemEvent evt) {
                jRB_18ItemStateChanged(evt);
            }
        });
        jPanel1.add(jRB_18);
        jRB_18.setBounds(0, 520, 500, 27);

        jRB_19.setBackground(new java.awt.Color(0, 0, 0));
        jRB_19.setFont(new java.awt.Font("Comic Sans MS", 1, 12)); // NOI18N
        jRB_19.setForeground(new java.awt.Color(255, 102, 0));
        jRB_19.setFocusPainted(false);
        jRB_19.addItemListener(new java.awt.event.ItemListener() {
            public void itemStateChanged(java.awt.event.ItemEvent evt) {
                jRB_19ItemStateChanged(evt);
            }
        });
        jPanel1.add(jRB_19);
        jRB_19.setBounds(0, 550, 500, 27);

        jRB_20.setBackground(new java.awt.Color(0, 0, 0));
        jRB_20.setFont(new java.awt.Font("Comic Sans MS", 1, 12)); // NOI18N
        jRB_20.setForeground(new java.awt.Color(255, 102, 0));
        jRB_20.setFocusPainted(false);
        jRB_20.addItemListener(new java.awt.event.ItemListener() {
            public void itemStateChanged(java.awt.event.ItemEvent evt) {
                jRB_20ItemStateChanged(evt);
            }
        });
        jPanel1.add(jRB_20);
        jRB_20.setBounds(0, 580, 500, 27);

        jRB_26.setBackground(new java.awt.Color(0, 0, 0));
        jRB_26.setFont(new java.awt.Font("Comic Sans MS", 1, 12)); // NOI18N
        jRB_26.setForeground(new java.awt.Color(255, 102, 0));
        jRB_26.setFocusPainted(false);
        jRB_26.addItemListener(new java.awt.event.ItemListener() {
            public void itemStateChanged(java.awt.event.ItemEvent evt) {
                jRB_26ItemStateChanged(evt);
            }
        });
        jPanel1.add(jRB_26);
        jRB_26.setBounds(0, 760, 500, 27);

        jRB_21.setBackground(new java.awt.Color(0, 0, 0));
        jRB_21.setFont(new java.awt.Font("Comic Sans MS", 1, 12)); // NOI18N
        jRB_21.setForeground(new java.awt.Color(255, 102, 0));
        jRB_21.setFocusPainted(false);
        jRB_21.addItemListener(new java.awt.event.ItemListener() {
            public void itemStateChanged(java.awt.event.ItemEvent evt) {
                jRB_21ItemStateChanged(evt);
            }
        });
        jPanel1.add(jRB_21);
        jRB_21.setBounds(0, 610, 500, 27);

        jRB_22.setBackground(new java.awt.Color(0, 0, 0));
        jRB_22.setFont(new java.awt.Font("Comic Sans MS", 1, 12)); // NOI18N
        jRB_22.setForeground(new java.awt.Color(255, 102, 0));
        jRB_22.setFocusPainted(false);
        jRB_22.addItemListener(new java.awt.event.ItemListener() {
            public void itemStateChanged(java.awt.event.ItemEvent evt) {
                jRB_22ItemStateChanged(evt);
            }
        });
        jPanel1.add(jRB_22);
        jRB_22.setBounds(0, 640, 500, 27);

        jRB_25.setBackground(new java.awt.Color(0, 0, 0));
        jRB_25.setFont(new java.awt.Font("Comic Sans MS", 1, 12)); // NOI18N
        jRB_25.setForeground(new java.awt.Color(255, 102, 0));
        jRB_25.setFocusPainted(false);
        jRB_25.addItemListener(new java.awt.event.ItemListener() {
            public void itemStateChanged(java.awt.event.ItemEvent evt) {
                jRB_25ItemStateChanged(evt);
            }
        });
        jPanel1.add(jRB_25);
        jRB_25.setBounds(0, 730, 500, 27);

        jRB_24.setBackground(new java.awt.Color(0, 0, 0));
        jRB_24.setFont(new java.awt.Font("Comic Sans MS", 1, 12)); // NOI18N
        jRB_24.setForeground(new java.awt.Color(255, 102, 0));
        jRB_24.setFocusPainted(false);
        jRB_24.addItemListener(new java.awt.event.ItemListener() {
            public void itemStateChanged(java.awt.event.ItemEvent evt) {
                jRB_24ItemStateChanged(evt);
            }
        });
        jRB_24.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jRB_24ActionPerformed(evt);
            }
        });
        jPanel1.add(jRB_24);
        jRB_24.setBounds(0, 700, 500, 27);

        jRB_23.setBackground(new java.awt.Color(0, 0, 0));
        jRB_23.setFont(new java.awt.Font("Comic Sans MS", 1, 12)); // NOI18N
        jRB_23.setForeground(new java.awt.Color(255, 102, 0));
        jRB_23.setFocusPainted(false);
        jRB_23.addItemListener(new java.awt.event.ItemListener() {
            public void itemStateChanged(java.awt.event.ItemEvent evt) {
                jRB_23ItemStateChanged(evt);
            }
        });
        jPanel1.add(jRB_23);
        jRB_23.setBounds(0, 670, 500, 27);

        jPanel1.setBounds(0, 0, 530, 940);
        jDesktopPane1.add(jPanel1, javax.swing.JLayeredPane.DEFAULT_LAYER);

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jDesktopPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 513, Short.MAX_VALUE)
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jDesktopPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 799, Short.MAX_VALUE)
        );

        java.awt.Dimension screenSize = java.awt.Toolkit.getDefaultToolkit().getScreenSize();
        setBounds((screenSize.width-529)/2, (screenSize.height-837)/2, 529, 837);
    }// </editor-fold>//GEN-END:initComponents

    private void jRB_2ItemStateChanged(java.awt.event.ItemEvent evt) {//GEN-FIRST:event_jRB_2ItemStateChanged
if(jRB_2.isSelected()){
    
disc2=jRB_2.getText();

Porenquanto.setM2(disc2);}
 else{
    Porenquanto.setM2ant(jRB_2.getText());
     Porenquanto.setM2("");

 }
    }//GEN-LAST:event_jRB_2ItemStateChanged

    private void jRB_1ItemStateChanged(java.awt.event.ItemEvent evt) {//GEN-FIRST:event_jRB_1ItemStateChanged
       if(jRB_1.isSelected()){
      
        disc1=jRB_1.getText();
        
        
        Porenquanto.setM1(disc1);
        }
  else{
      Porenquanto.setM1ant(jRB_1.getText());
      Porenquanto.setM1("");
     
  }       
    }//GEN-LAST:event_jRB_1ItemStateChanged

    private void jRB_3ItemStateChanged(java.awt.event.ItemEvent evt) {//GEN-FIRST:event_jRB_3ItemStateChanged
if(jRB_3.isSelected()){
    
 disc3=jRB_3.getText();
 Porenquanto.setM3(disc3);
 }else{
    Porenquanto.setM3ant(jRB_3.getText());
     Porenquanto.setM3("");
 }           // TODO add your handling code here:
    }//GEN-LAST:event_jRB_3ItemStateChanged

    private void jRB_4ItemStateChanged(java.awt.event.ItemEvent evt) {//GEN-FIRST:event_jRB_4ItemStateChanged
if(jRB_4.isSelected()){
   disc4=jRB_4.getText(); 
  Porenquanto.setM4(disc4);
  }else{
    Porenquanto.setM4ant(jRB_4.getText());
      Porenquanto.setM4("");
  }          // TODO add your handling code here:
    }//GEN-LAST:event_jRB_4ItemStateChanged

    private void jRB_6ItemStateChanged(java.awt.event.ItemEvent evt) {//GEN-FIRST:event_jRB_6ItemStateChanged
if(jRB_6.isSelected()){
    
 disc6=jRB_6.getText();
  Porenquanto.setM6(disc6);
  }else{
    Porenquanto.setM6ant(jRB_6.getText());
      Porenquanto.setM6("");
  }          
    }//GEN-LAST:event_jRB_6ItemStateChanged

    private void jRB_5ItemStateChanged(java.awt.event.ItemEvent evt) {//GEN-FIRST:event_jRB_5ItemStateChanged
if(jRB_5.isSelected()){
    
disc5=jRB_5.getText();
  Porenquanto.setM5(disc5);
  }else{
    Porenquanto.setM5ant(jRB_5.getText());
      Porenquanto.setM5("");
  }               // TODO add your handling code here:
    }//GEN-LAST:event_jRB_5ItemStateChanged

    private void jRB_7ItemStateChanged(java.awt.event.ItemEvent evt) {//GEN-FIRST:event_jRB_7ItemStateChanged
     if(jRB_7.isSelected()){
   
 disc7=jRB_7.getText();
 Porenquanto.setM7(disc7);
}else{
     Porenquanto.setM7ant(jRB_7.getText());
      Porenquanto.setM7("");
  }  
    }//GEN-LAST:event_jRB_7ItemStateChanged

    private void jRB_8ItemStateChanged(java.awt.event.ItemEvent evt) {//GEN-FIRST:event_jRB_8ItemStateChanged
     if(jRB_8.isSelected()){
    
 disc8=jRB_8.getText();
  Porenquanto.setM8(disc8);
  }
  else{
    Porenquanto.setM8ant(jRB_8.getText());
    Porenquanto.setM8("");
}    
    }//GEN-LAST:event_jRB_8ItemStateChanged

    private void jRB_9ItemStateChanged(java.awt.event.ItemEvent evt) {//GEN-FIRST:event_jRB_9ItemStateChanged
   if(jRB_9.isSelected()){
    
 disc9=jRB_9.getText();
  Porenquanto.setM9(disc9);
  }else{
    Porenquanto.setM9ant(jRB_9.getText());
      Porenquanto.setM9("");
  }   
    }//GEN-LAST:event_jRB_9ItemStateChanged

    private void jRB_10ItemStateChanged(java.awt.event.ItemEvent evt) {//GEN-FIRST:event_jRB_10ItemStateChanged
     if(jRB_10.isSelected()){
    
 disc10=jRB_10.getText();
Porenquanto.setM10(disc10);
  }
  else{
     Porenquanto.setM10ant(jRB_10.getText());
      Porenquanto.setM10("");
  }  
    }//GEN-LAST:event_jRB_10ItemStateChanged

    private void jRB_11ItemStateChanged(java.awt.event.ItemEvent evt) {//GEN-FIRST:event_jRB_11ItemStateChanged
   if(jRB_11.isSelected()){
    
 disc11=jRB_11.getText();
 Porenquanto.setM11(disc11);
  }else{
     Porenquanto.setM11ant(jRB_11.getText());
      Porenquanto.setM11("");
  }     
    }//GEN-LAST:event_jRB_11ItemStateChanged

    private void jRB_12ItemStateChanged(java.awt.event.ItemEvent evt) {//GEN-FIRST:event_jRB_12ItemStateChanged
       if(jRB_12.isSelected()){
    
 disc12=jRB_12.getText();
 Porenquanto.setM12(disc12);
  }
  else{
     Porenquanto.setM12ant(jRB_12.getText());
      Porenquanto.setM12("");
  }   
    }//GEN-LAST:event_jRB_12ItemStateChanged

    private void jRB_13ItemStateChanged(java.awt.event.ItemEvent evt) {//GEN-FIRST:event_jRB_13ItemStateChanged
    if(jRB_13.isSelected()){
    
 disc13=jRB_13.getText();
  Porenquanto.setM13(disc13);
  }else{
     Porenquanto.setM13ant(jRB_13.getText());
      Porenquanto.setM13("");
  }   
    }//GEN-LAST:event_jRB_13ItemStateChanged

    private void jRB_14ItemStateChanged(java.awt.event.ItemEvent evt) {//GEN-FIRST:event_jRB_14ItemStateChanged
     if(jRB_14.isSelected()){
    
    disc14=jRB_14.getText();
 Porenquanto.setM14(disc14);
  }else{
    Porenquanto.setM14ant(jRB_14.getText());
      Porenquanto.setM14("");
  }   
    }//GEN-LAST:event_jRB_14ItemStateChanged

    private void jRB_15ItemStateChanged(java.awt.event.ItemEvent evt) {//GEN-FIRST:event_jRB_15ItemStateChanged
      if(jRB_15.isSelected()){
    
 disc15=jRB_15.getText();
 Porenquanto.setM15(disc15);
 }else{
    Porenquanto.setM15ant(jRB_15.getText());
     Porenquanto.setM15("");
 }   
    }//GEN-LAST:event_jRB_15ItemStateChanged

    private void jRB_16ItemStateChanged(java.awt.event.ItemEvent evt) {//GEN-FIRST:event_jRB_16ItemStateChanged
    if(jRB_16.isSelected()){
    
 disc16=jRB_16.getText();
 Porenquanto.setM16(disc16);
    }
    else{
    Porenquanto.setM16ant(jRB_16.getText());
        Porenquanto.setM16("");
    }     
    }//GEN-LAST:event_jRB_16ItemStateChanged

    private void jRB_17ItemStateChanged(java.awt.event.ItemEvent evt) {//GEN-FIRST:event_jRB_17ItemStateChanged
       if(jRB_17.isSelected()){
    
disc17=jRB_17.getText();
Porenquanto.setM17(disc17);}
else{
        Porenquanto.setM17ant(jRB_17.getText());
        Porenquanto.setM17("");
    
}       
    }//GEN-LAST:event_jRB_17ItemStateChanged

    private void jRB_18ItemStateChanged(java.awt.event.ItemEvent evt) {//GEN-FIRST:event_jRB_18ItemStateChanged
       if(jRB_18.isSelected()){
    
disc18=jRB_18.getText();
Porenquanto.setM18(disc18);}
else{
            Porenquanto.setM18ant(jRB_18.getText());
        Porenquanto.setM18("");
    
}          
    }//GEN-LAST:event_jRB_18ItemStateChanged

    private void jRB_19ItemStateChanged(java.awt.event.ItemEvent evt) {//GEN-FIRST:event_jRB_19ItemStateChanged
     if(jRB_19.isSelected()){
   
disc19=jRB_19.getText();
Porenquanto.setM19(disc19);}
else{
    Porenquanto.setM19ant(jRB_19.getText());
        Porenquanto.setM19("");
    
}       
    }//GEN-LAST:event_jRB_19ItemStateChanged

    private void jRB_20ItemStateChanged(java.awt.event.ItemEvent evt) {//GEN-FIRST:event_jRB_20ItemStateChanged
     if(jRB_20.isSelected()){
    
disc20=jRB_20.getText();
Porenquanto.setM20(disc20);}
else{
            Porenquanto.setM20ant(jRB_20.getText());
        Porenquanto.setM20("");
    
}     
    }//GEN-LAST:event_jRB_20ItemStateChanged

    private void jRB_26ItemStateChanged(java.awt.event.ItemEvent evt) {//GEN-FIRST:event_jRB_26ItemStateChanged
        if(jRB_26.isSelected()){
    
disc26=jRB_26.getText();
Porenquanto.setM20(disc26);}
else{
           Porenquanto.setM26ant(jRB_26.getText());
        Porenquanto.setM26("");
    
}                 
    }//GEN-LAST:event_jRB_26ItemStateChanged

    private void jRB_21ItemStateChanged(java.awt.event.ItemEvent evt) {//GEN-FIRST:event_jRB_21ItemStateChanged
        if(jRB_21.isSelected()){
    
disc21=jRB_21.getText();
Porenquanto.setM20(disc21);}
else{
            Porenquanto.setM21ant(jRB_21.getText());
        Porenquanto.setM21("");
    
}          
    }//GEN-LAST:event_jRB_21ItemStateChanged

    private void jRB_23ItemStateChanged(java.awt.event.ItemEvent evt) {//GEN-FIRST:event_jRB_23ItemStateChanged
        if(jRB_23.isSelected()){
    
disc23=jRB_23.getText();
Porenquanto.setM20(disc23);}
else{
            Porenquanto.setM23ant(jRB_23.getText());
        Porenquanto.setM23("");
    
}                
    }//GEN-LAST:event_jRB_23ItemStateChanged

    private void jRB_22ItemStateChanged(java.awt.event.ItemEvent evt) {//GEN-FIRST:event_jRB_22ItemStateChanged
        if(jRB_22.isSelected()){
    
disc22=jRB_22.getText();
Porenquanto.setM20(disc22);}
else{
            Porenquanto.setM22ant(jRB_22.getText());
        Porenquanto.setM22("");
    
}              
    }//GEN-LAST:event_jRB_22ItemStateChanged

    private void jRB_25ItemStateChanged(java.awt.event.ItemEvent evt) {//GEN-FIRST:event_jRB_25ItemStateChanged
        if(jRB_25.isSelected()){
    
disc25=jRB_25.getText();
Porenquanto.setM20(disc25);}
else{
            Porenquanto.setM25ant(jRB_25.getText());
        Porenquanto.setM25("");
    
}          
    }//GEN-LAST:event_jRB_25ItemStateChanged

    private void jRB_24ItemStateChanged(java.awt.event.ItemEvent evt) {//GEN-FIRST:event_jRB_24ItemStateChanged
     if(jRB_24.isSelected()){
    
disc24=jRB_24.getText();
Porenquanto.setM20(disc24);}
else{
            Porenquanto.setM24ant(jRB_24.getText());
        Porenquanto.setM24("");
    
}                    
    }//GEN-LAST:event_jRB_24ItemStateChanged

    private void jRB_24ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jRB_24ActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_jRB_24ActionPerformed

    private void formWindowLostFocus(java.awt.event.WindowEvent evt) {//GEN-FIRST:event_formWindowLostFocus
       dispose();
    }//GEN-LAST:event_formWindowLostFocus

    /**
     * @param args the command line arguments
     */
    public static void main(String args[]) {
        /* Set the Nimbus look and feel */
        //<editor-fold defaultstate="collapsed" desc=" Look and feel setting code (optional) ">
        /* If Nimbus (introduced in Java SE 6) is not available, stay with the default look and feel.
         * For details see http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html 
         */
        try {
            for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager.getInstalledLookAndFeels()) {
                if ("Nimbus".equals(info.getName())) {
                    javax.swing.UIManager.setLookAndFeel(info.getClassName());
                    break;
                }
            }
        } catch (ClassNotFoundException ex) {
            java.util.logging.Logger.getLogger(FormDisc_Dinamico.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (InstantiationException ex) {
            java.util.logging.Logger.getLogger(FormDisc_Dinamico.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (IllegalAccessException ex) {
            java.util.logging.Logger.getLogger(FormDisc_Dinamico.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (javax.swing.UnsupportedLookAndFeelException ex) {
            java.util.logging.Logger.getLogger(FormDisc_Dinamico.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        }
        //</editor-fold>

        /* Create and display the form */
//        java.awt.EventQueue.invokeLater(new Runnable() {
//
//            @Override
//            public void run() {
//                new FormDisc_Dinamico( ).setVisible(true);
//            }
//        });
    }
    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JDesktopPane jDesktopPane1;
    private javax.swing.JPanel jPanel1;
    private javax.swing.JRadioButton jRB_1;
    private javax.swing.JRadioButton jRB_10;
    private javax.swing.JRadioButton jRB_11;
    private javax.swing.JRadioButton jRB_12;
    private javax.swing.JRadioButton jRB_13;
    private javax.swing.JRadioButton jRB_14;
    private javax.swing.JRadioButton jRB_15;
    private javax.swing.JRadioButton jRB_16;
    private javax.swing.JRadioButton jRB_17;
    private javax.swing.JRadioButton jRB_18;
    private javax.swing.JRadioButton jRB_19;
    private javax.swing.JRadioButton jRB_2;
    private javax.swing.JRadioButton jRB_20;
    private javax.swing.JRadioButton jRB_21;
    private javax.swing.JRadioButton jRB_22;
    private javax.swing.JRadioButton jRB_23;
    private javax.swing.JRadioButton jRB_24;
    private javax.swing.JRadioButton jRB_25;
    private javax.swing.JRadioButton jRB_26;
    private javax.swing.JRadioButton jRB_3;
    private javax.swing.JRadioButton jRB_4;
    private javax.swing.JRadioButton jRB_5;
    private javax.swing.JRadioButton jRB_6;
    private javax.swing.JRadioButton jRB_7;
    private javax.swing.JRadioButton jRB_8;
    private javax.swing.JRadioButton jRB_9;
    // End of variables declaration//GEN-END:variables

    private void AtualizaDados(String asd, String asd2)  {
 if("Regular".equals(asd)){
    String eixo="Regular";
            try {
                lista = discmet.Buscar_Disc_Regular(eixo);
            } catch (SQLException ex) {
                Logger.getLogger(FormDisc_Dinamico.class.getName()).log(Level.SEVERE, null, ex);
            }
        
    nomes_disc = new String[lista.size()];
    int ind=0;  
    while(lista.size()>ind)
    {  
       disciplina = lista.get(ind);
       nomes_disc[ind] = disciplina.getNome();
       jrb[ind]=nomes_disc[ind];
        System.out.println(nomes_disc[ind]);
        ind++;
    }
        }else{
            
            
           
            lista=discmet.Buscar_Nome_DisciplinasProf(asd,asd2);
            
          
            nomes_disc = new String [lista.size()];
            for(int ind=0;lista.size()>ind;ind++){
                disciplina = lista.get(ind);
       nomes_disc[ind] = disciplina.getNome();
       jrb[ind]=nomes_disc[ind];
            }
        
        }      
            
            
            
     
    jRB_1.setText(jrb[0]);
    jRB_2.setText(jrb[1]);
    jRB_3.setText(jrb[2]);
    jRB_4.setText(jrb[3]);
    jRB_5.setText(jrb[4]);
    jRB_6.setText(jrb[5]);
    jRB_7.setText(jrb[6]);
    jRB_8.setText(jrb[7]);
    jRB_9.setText(jrb[8]);
    jRB_10.setText(jrb[9]);
    jRB_11.setText(jrb[10]);
    jRB_12.setText(jrb[11]);
    jRB_13.setText(jrb[12]);
    jRB_14.setText(jrb[13]);
    jRB_15.setText(jrb[14]);
    jRB_16.setText(jrb[15]);
    jRB_17.setText(jrb[16]);
    jRB_18.setText(jrb[17]);
    jRB_19.setText(jrb[18]);
    jRB_20.setText(jrb[19]);
    jRB_21.setText(jrb[20]);
    jRB_22.setText(jrb[21]);
    jRB_23.setText(jrb[22]);
    jRB_24.setText(jrb[23]);
    jRB_25.setText(jrb[24]);
    jRB_26.setText(jrb[25]);
    }

    private void Sequencia_ifs() {
        if( jRB_1.getText()==null){
        jRB_1.setVisible(false);
    }else{
            java.awt.Dimension screenSize = java.awt.Toolkit.getDefaultToolkit().getScreenSize();
        setBounds((screenSize.width-500)/2, (screenSize.height-160)/2, 500, 160);
        }
    if( jRB_2.getText()==null){
        jRB_2.setVisible(false);
    }else{
            java.awt.Dimension screenSize = java.awt.Toolkit.getDefaultToolkit().getScreenSize();
        setBounds((screenSize.width-500)/2, (screenSize.height-160)/2, 500, 160);
        }
    if( jRB_3.getText()==null){
        jRB_3.setVisible(false);
    }else{
            java.awt.Dimension screenSize = java.awt.Toolkit.getDefaultToolkit().getScreenSize();
        setBounds((screenSize.width-500)/2, (screenSize.height-160)/2, 500, 160);
        }
    if( jRB_4.getText()==null){
        jRB_4.setVisible(false);
    }else{
            java.awt.Dimension screenSize = java.awt.Toolkit.getDefaultToolkit().getScreenSize();
        setBounds((screenSize.width-500)/2, (screenSize.height-160)/2, 500, 160);
        }
    if( jRB_5.getText()==null){
        jRB_5.setVisible(false);
    }else{
            java.awt.Dimension screenSize = java.awt.Toolkit.getDefaultToolkit().getScreenSize();
        setBounds((screenSize.width-500)/2, (screenSize.height-185)/2, 500, 185);
        }
    if( jRB_6.getText()==null){
        jRB_6.setVisible(false);
    }else{
            java.awt.Dimension screenSize = java.awt.Toolkit.getDefaultToolkit().getScreenSize();
        setBounds((screenSize.width-500)/2, (screenSize.height-195)/2, 500, 195);
        }
    if( jRB_7.getText()==null){
        jRB_7.setVisible(false);
    }else{
            java.awt.Dimension screenSize = java.awt.Toolkit.getDefaultToolkit().getScreenSize();
        setBounds((screenSize.width-500)/2, (screenSize.height-210)/2, 500, 210);
        }
    if( jRB_8.getText()==null){
        jRB_8.setVisible(false);
    }else{
            java.awt.Dimension screenSize = java.awt.Toolkit.getDefaultToolkit().getScreenSize();
        setBounds((screenSize.width-500)/2, (screenSize.height-280)/2, 500, 280);
        }
    if( jRB_9.getText()==null){
        jRB_9.setVisible(false);
    }else{
            java.awt.Dimension screenSize = java.awt.Toolkit.getDefaultToolkit().getScreenSize();
        setBounds((screenSize.width-500)/2, (screenSize.height-301)/2, 500, 301);
        }
    if( jRB_10.getText()==null){
        jRB_10.setVisible(false);
    }else{
            java.awt.Dimension screenSize = java.awt.Toolkit.getDefaultToolkit().getScreenSize();
        setBounds((screenSize.width-500)/2, (screenSize.height-330)/2, 500, 330);
        }
    if( jRB_11.getText()==null){
        jRB_11.setVisible(false);
    }else{
            java.awt.Dimension screenSize = java.awt.Toolkit.getDefaultToolkit().getScreenSize();
        setBounds((screenSize.width-500)/2, (screenSize.height-360)/2, 500, 360);
        }
    if( jRB_12.getText()==null){
        jRB_12.setVisible(false);
    }else{
            java.awt.Dimension screenSize = java.awt.Toolkit.getDefaultToolkit().getScreenSize();
        setBounds((screenSize.width-500)/2, (screenSize.height-390)/2, 500, 390);
        }
    if( jRB_13.getText()==null){
        jRB_13.setVisible(false);
    }else{
            java.awt.Dimension screenSize = java.awt.Toolkit.getDefaultToolkit().getScreenSize();
        setBounds((screenSize.width-500)/2, (screenSize.height-420)/2, 500, 420);
        }
    if( jRB_14.getText()==null){
        jRB_14.setVisible(false);
    }else{
            java.awt.Dimension screenSize = java.awt.Toolkit.getDefaultToolkit().getScreenSize();
        setBounds((screenSize.width-500)/2, (screenSize.height-452)/2, 500, 452);
        }
    if( jRB_15.getText()==null){
        jRB_15.setVisible(false);
    }else{
            java.awt.Dimension screenSize = java.awt.Toolkit.getDefaultToolkit().getScreenSize();
        setBounds((screenSize.width-500)/2, (screenSize.height-482)/2, 500, 482);
        }
    if( jRB_16.getText()==null){
        jRB_16.setVisible(false);
    }else{
            java.awt.Dimension screenSize = java.awt.Toolkit.getDefaultToolkit().getScreenSize();
        setBounds((screenSize.width-500)/2, (screenSize.height-512)/2, 500, 512);
        }
    if( jRB_17.getText()==null){
        jRB_17.setVisible(false);
    }else{
            java.awt.Dimension screenSize = java.awt.Toolkit.getDefaultToolkit().getScreenSize();
        setBounds((screenSize.width-500 )/2, (screenSize.height-542)/2, 500, 542);
        }
    if( jRB_18.getText()==null){
        jRB_18.setVisible(false);
    }else{
            java.awt.Dimension screenSize = java.awt.Toolkit.getDefaultToolkit().getScreenSize();
        setBounds((screenSize.width-500)/2, (screenSize.height-572)/2, 500, 572);
        }
    if( jRB_19.getText()==null){
        jRB_19.setVisible(false);
    }else{
            java.awt.Dimension screenSize = java.awt.Toolkit.getDefaultToolkit().getScreenSize();
        setBounds((screenSize.width-500)/2, (screenSize.height-602)/2, 500, 602);
        }
    if( jRB_20.getText()==null){
        jRB_20.setVisible(false);
    }else{
            java.awt.Dimension screenSize = java.awt.Toolkit.getDefaultToolkit().getScreenSize();
        setBounds((screenSize.width-500)/2, (screenSize.height-632)/2, 500, 632);
        }
    if( jRB_21.getText()==null){
        jRB_21.setVisible(false);
    }else{
            java.awt.Dimension screenSize = java.awt.Toolkit.getDefaultToolkit().getScreenSize();
        setBounds((screenSize.width-500)/2, (screenSize.height-662)/2, 500, 662);
        }
    if( jRB_22.getText()==null){
        jRB_22.setVisible(false);
    }else{
            java.awt.Dimension screenSize = java.awt.Toolkit.getDefaultToolkit().getScreenSize();
        setBounds((screenSize.width-500)/2, (screenSize.height-692)/2, 500, 692);
        }
    if( jRB_23.getText()==null){
        jRB_23.setVisible(false);
    }else{
            java.awt.Dimension screenSize = java.awt.Toolkit.getDefaultToolkit().getScreenSize();
        setBounds((screenSize.width-500)/2, (screenSize.height-722)/2, 500, 722);
        }
    if( jRB_24.getText()==null){
        jRB_24.setVisible(false);
    }else{
            java.awt.Dimension screenSize = java.awt.Toolkit.getDefaultToolkit().getScreenSize();
        setBounds((screenSize.width-500)/2, (screenSize.height-752)/2, 500, 752);
        }
    if( jRB_25.getText()==null){
        jRB_25.setVisible(false);
    }else{
            java.awt.Dimension screenSize = java.awt.Toolkit.getDefaultToolkit().getScreenSize();
        setBounds((screenSize.width-500)/2, (screenSize.height-782)/2, 500, 782);
        }
    if( jRB_26.getText()==null){
        jRB_26.setVisible(false);
    }else{
            java.awt.Dimension screenSize = java.awt.Toolkit.getDefaultToolkit().getScreenSize();
        setBounds((screenSize.width-500)/2, (screenSize.height-812)/2, 500, 812);
        }
    
    }

    private void aplicatema() {
        jRB_1.setForeground(new java.awt.Color(0, 51, 255));
        jRB_2.setForeground(new java.awt.Color(0, 51, 255));
        jRB_3.setForeground(new java.awt.Color(0, 51, 255));
        jRB_4.setForeground(new java.awt.Color(0, 51, 255));
        jRB_5.setForeground(new java.awt.Color(0, 51, 255));
        jRB_6.setForeground(new java.awt.Color(0, 51, 255));
        jRB_7.setForeground(new java.awt.Color(0, 51, 255));
        jRB_8.setForeground(new java.awt.Color(0, 51, 255));
        jRB_9.setForeground(new java.awt.Color(0, 51, 255));
        jRB_10.setForeground(new java.awt.Color(0, 51, 255));
        jRB_11.setForeground(new java.awt.Color(0, 51, 255));
        jRB_12.setForeground(new java.awt.Color(0, 51, 255));
        jRB_13.setForeground(new java.awt.Color(0, 51, 255));
        jRB_14.setForeground(new java.awt.Color(0, 51, 255));
        jRB_15.setForeground(new java.awt.Color(0, 51, 255));
        jRB_16.setForeground(new java.awt.Color(0, 51, 255));
        jRB_17.setForeground(new java.awt.Color(0, 51, 255));
        jRB_18.setForeground(new java.awt.Color(0, 51, 255));
        jRB_19.setForeground(new java.awt.Color(0, 51, 255));
        jRB_20.setForeground(new java.awt.Color(0, 51, 255));
        jRB_21.setForeground(new java.awt.Color(0, 51, 255));
        jRB_22.setForeground(new java.awt.Color(0, 51, 255));
        jRB_23.setForeground(new java.awt.Color(0, 51, 255));
        jRB_24.setForeground(new java.awt.Color(0, 51, 255));
        jRB_25.setForeground(new java.awt.Color(0, 51, 255));
        jRB_26.setForeground(new java.awt.Color(0, 51, 255));
        
    }

    private void aplicatema2() {
        jPanel1.setForeground(new java.awt.Color(255, 255, 255));
        jRB_1.setForeground(new java.awt.Color(0, 0, 0));
        jRB_2.setForeground(new java.awt.Color(0, 0, 0));
        jRB_3.setForeground(new java.awt.Color(0, 0, 0));
        jRB_4.setForeground(new java.awt.Color(0, 0, 0));
        jRB_5.setForeground(new java.awt.Color(0, 0, 0));
        jRB_6.setForeground(new java.awt.Color(0, 0, 0));
        jRB_7.setForeground(new java.awt.Color(0, 0, 0));
        jRB_8.setForeground(new java.awt.Color(0, 0, 0));
        jRB_9.setForeground(new java.awt.Color(0, 0, 0));
        jRB_10.setForeground(new java.awt.Color(0, 0, 0));
        jRB_11.setForeground(new java.awt.Color(0, 0, 0));
        jRB_12.setForeground(new java.awt.Color(0, 0, 0));
        jRB_13.setForeground(new java.awt.Color(0, 0, 0));
        jRB_14.setForeground(new java.awt.Color(0, 0, 0));
        jRB_15.setForeground(new java.awt.Color(0, 0, 0));
        jRB_16.setForeground(new java.awt.Color(0, 0, 0));
        jRB_17.setForeground(new java.awt.Color(0, 0, 0));
        jRB_18.setForeground(new java.awt.Color(0, 0, 0));
        jRB_19.setForeground(new java.awt.Color(0, 0, 0));
        jRB_20.setForeground(new java.awt.Color(0, 0, 0));
        jRB_21.setForeground(new java.awt.Color(0, 0, 0));
        jRB_22.setForeground(new java.awt.Color(0, 0, 0));
        jRB_23.setForeground(new java.awt.Color(0, 0, 0));
        jRB_24.setForeground(new java.awt.Color(0, 0, 0));
        jRB_25.setForeground(new java.awt.Color(0, 0, 0));
        jRB_26.setForeground(new java.awt.Color(0, 0, 0));
        jRB_1.setBackground(new java.awt.Color(255, 255, 255));
        jRB_2.setBackground(new java.awt.Color(255, 255, 255));
        jRB_3.setBackground(new java.awt.Color(255, 255, 255));
        jRB_4.setBackground(new java.awt.Color(255, 255, 255));
        jRB_5.setBackground(new java.awt.Color(255, 255, 255));
        jRB_6.setBackground(new java.awt.Color(255, 255, 255));
        jRB_7.setBackground(new java.awt.Color(255, 255, 255));
        jRB_8.setBackground(new java.awt.Color(255, 255, 255));
        jRB_9.setBackground(new java.awt.Color(255, 255, 255));
        jRB_10.setBackground(new java.awt.Color(255, 255, 255));
        jRB_11.setBackground(new java.awt.Color(255, 255, 255));
        jRB_12.setBackground(new java.awt.Color(255, 255, 255));
        jRB_13.setBackground(new java.awt.Color(255, 255, 255));
        jRB_14.setBackground(new java.awt.Color(255, 255, 255));
        jRB_15.setBackground(new java.awt.Color(255, 255, 255));
        jRB_16.setBackground(new java.awt.Color(255, 255, 255));
        jRB_17.setBackground(new java.awt.Color(255, 255, 255));
        jRB_18.setBackground(new java.awt.Color(255, 255, 255));
        jRB_19.setBackground(new java.awt.Color(255, 255, 255));
        jRB_20.setBackground(new java.awt.Color(255, 255, 255));
        jRB_21.setBackground(new java.awt.Color(255, 255, 255));
        jRB_22.setBackground(new java.awt.Color(255, 255, 255));
        jRB_23.setBackground(new java.awt.Color(255, 255, 255));
        jRB_24.setBackground(new java.awt.Color(255, 255, 255));
        jRB_25.setBackground(new java.awt.Color(255, 255, 255));
        jRB_26.setBackground(new java.awt.Color(255, 255, 255));
        
        
        
        
        
    }
}
